package io.renren.sdapi.service;

import io.renren.membermanage.dto.SseCommonMessageDto;
import io.renren.sdapi.dto.httprequestparam.SseMessageDto;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

public interface SseService {
    SseEmitter connect(String uuid);

    void sendMessage(SseMessageDto message);

    void sendMessage(SseCommonMessageDto message);
}
